Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDomArray<T> Class / Add Method
Array to which to add the item.
Item to add.


In This Topic
    Add Method (NDomArray<T>)
    In This Topic
    Adds a new item to the specified array and returns a new array.
    Syntax
    'Declaration
     
    
    Public Shared Function Add( _
       ByVal array As NDomArray(Of T), _
       ByVal item As T _
    ) As NDomArray(Of T)
    'Usage
     
    
    Dim array As NDomArray(Of T)
    Dim item As T
    Dim value As NDomArray(Of T)
     
    value = NDomArray(Of T).Add(array, item)
    public static NDomArray<T> Add( 
       NDomArray<T> array,
       T item
    )

    Parameters

    array
    Array to which to add the item.
    item
    Item to add.

    Return Value

    The new array.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also